package graph.undirectedgraph.adjacencymultilist;

public class AdjVexNode {
    private String data;
    private AdjEdgeNode firstEdge;

    public AdjVexNode() {
    }

    public AdjVexNode(String data) {
        this.data = data;
    }

    public AdjVexNode(String data, AdjEdgeNode firstEdge) {
        this.data = data;
        this.firstEdge = firstEdge;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public AdjEdgeNode getFirstEdge() {
        return firstEdge;
    }

    public void setFirstEdge(AdjEdgeNode firstEdge) {
        this.firstEdge = firstEdge;
    }
}
